Add support for pulling from remote archives
authorColin Walters <walters@verbum.org>
Tue, 1 Nov 2011 00:24:38 +0000 (20:24 -0400)
committerColin Walters <walters@verbum.org>
Tue, 1 Nov 2011 00:28:47 +0000 (20:28 -0400)
commita160a2a5fa717646fbd9e665913358131b01c83b
tree0738c4a38577bae2993e643b632ec669dda788c9
parentfd4d25b8c1ee0f91091299a9598af941d9806816
Add support for pulling from remote archives

This necessitated a large set of changes.

We now support an "archive" mode for repositories.  In this mode,
files are stored "packed" rather than hard linked.  This allows one to
e.g. store an OSTree repository with root-owned files as non-root.  It
is also used as the basis for serving repositories via HTTP.

While doing this I realized that GVariant is endianness-dependent; I
decided to just store all data in big endian.
21 files changed:
Makefile-src.am
configure.ac
src/libostree/ostree-core.c
src/libostree/ostree-core.h
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/main.c
src/ostree-http-backend.c [new file with mode: 0644]
src/ot-builtin-fsck.c
src/ot-builtin-init.c
src/ot-builtin-pull.c [new file with mode: 0644]
src/ot-builtin-remote.c
src/ot-builtins.h
tests/.gitignore
tests/Makefile
tests/libtest.sh
tests/ostree-http-server.c [deleted file]
tests/run-apache.c [new file with mode: 0644]
tests/t0012-pull.sh [new file with mode: 0755]
tests/t0013-commit-archive.sh [new file with mode: 0755]
tests/tmpdir-lifecycle.c [new file with mode: 0644]